home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / tarmail / untarmail < prev    next >
Text File  |  1994-08-01  |  230b  |  11 lines

  1. TAR_OPTS='Bo' # change as needed. 'B' is SGIism for 'b20'. 'o' only on Sys-V's
  2.  
  3. case $# in
  4. 1)    : o.k. ;;
  5. *)    echo 'usage: untarmail file'
  6.     echo 'or     untarmail -'
  7.     exit 1;;
  8. esac
  9.  
  10. cat $1 | atob | compress -d | tar xv${TAR_OPTS}f -
  11.